home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2633 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: dna.cs.wustl.edu!not-for-mail
  2. From: liz@dna.cs.wustl.edu (Liz Hanks)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Smart Pointer Implementation & question
  5. Date: 18 Jan 1996 14:18:27 -0600
  6. Organization: Washington University, St. Louis MO
  7. Message-ID: <4dm9uj$lam@dna.cs.wustl.edu>
  8. References: <4dfe36$d99@grid.direct.ca>
  9. NNTP-Posting-Host: dna.cs.wustl.edu
  10.  
  11. In article <4dfe36$d99@grid.direct.ca>, Ken Clark <ken@direct.ca> wrote:
  12. >Hi.  I have implemented a reference counting smart pointer class.  It works 
  13. >well, except that I can't get a basic behavior of normal pointers: automatic 
  14. >casting of subclass pointers.  Consider class shape and subclass circle.  I 
  15.  
  16. [snip]
  17.  
  18. You might want to check out:
  19.     http://www.best.com/~edelson/pubs.html
  20. The article "Smart pointers: they're smart but they're not pointers" 
  21. discusses your problem.
  22.  
  23. ----------------------------------------------------------------
  24. Liz Hanks                
  25. Department of Computer Science        E-mail: liz@cs.wustl.edu
  26. Washington University           http://www.cs.wustl.edu/~liz/
  27. ----------------------------------------------------------------
  28.